package com.woniu.order.common;


import com.woniu.result.ResultCode;

public enum CommentResultCode implements ResultCode {
    HAVE_COMMENTED(1001, "已评论"),
    NO_COMMENTS_YET(1002, "还未评论"),
    NOT_MORE_THAN_ONCE(1003, "不能多次追评");

    private int code;
    private String message;

    private CommentResultCode(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return this.code;
    }

    public String getMessage() {
        return this.message;
    }
}
